package com.concurrent.sample.business.trade.repo;

import com.concurrent.sample.business.trade.entity.TradeOrderEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface TradeOrderRepo extends JpaRepository<TradeOrderEntity, Long>, JpaSpecificationExecutor<TradeOrderEntity> {

  TradeOrderEntity findByEventId(Long eventId);

}
